package com.bl.student.dao.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Wallet implements Serializable {
    private String id;

    private String userId;

    private String balance;

    private String freezing;

    private Date updateTime;

    private String alipayId;

    private String wxpayId;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance == null ? null : balance.trim();
    }

    public String getFreezing() {
        return freezing;
    }

    public void setFreezing(String freezing) {
        this.freezing = freezing == null ? null : freezing.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAlipayId() {
        return alipayId;
    }

    public void setAlipayId(String alipayId) {
        this.alipayId = alipayId == null ? null : alipayId.trim();
    }

    public String getWxpayId() {
        return wxpayId;
    }

    public void setWxpayId(String wxpayId) {
        this.wxpayId = wxpayId == null ? null : wxpayId.trim();
    }
}